import { TreeView } from "@/components/ui/tree-view";
import { treeData } from "./helper";

export default function Page() {
  return (
    <div className="eg-tree h-full flex">
      <div className="menus w-58.5 h-full bg-red-100 py-4 flex ">
        <TreeView
          elements={treeData}
          className="h-full"
          initialSelectedId="111" // 初始选中"一元一次方程"
          separateClickActions={true} // 启用分离点击功能
        />
      </div>
      <div className="content flex-1 h-full ">
        hello word！
      </div>
    </div>
  );
}
